h1 {
    margin-top: 16px;
}
.favorite-wrap {
    position: relative;
    min-height: 400px;
    margin-top: 20px;
    display: none;
}
#favoriteWrap{
    display: block;
}
.container{
    #favoriteTab{
        display: flex;
        margin-top: 16px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        font-size: 14px;
        line-height: 20px;
        font-weight: bold;
        .tab-list {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            background-color: #F5F7FA;
            border-radius: 28px;
        }
        .tab-item {
            cursor: pointer;
            padding: 10px 24px;
            border-radius: 28px;
            a {
                color: #303133;
            }
        }
        .is-active {
            color: #FFF;
            background-color: #1890FF;
        }

    }
}
#favoriteProduct{
    margin: 20px auto;
    .bottom{
        margin-top: 16px;
    }
    .user-info{
        margin-left: 12px;
        .title__inner{
            max-width: 180px;
        }
        .favorite-inner{
            line-height: 20px;
            white-space: normal;
            white-space: initial;
            display: -webkit-box;
            text-align: left;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
    }
}
#favoritePost{
    margin: 20px auto;
    .top {
        .title_bottom {
            span {
                margin-left: 16px;
                .iconfont {
                    margin-right: 6px;
                }
            }
        }
    }
    .bottom{
        margin-top: 16px;
    }
    .user-info{
        margin-left: 12px;
        .title__inner{
            max-width: 180px;
        }
        .favorite-inner{
            white-space: normal;
            white-space: initial;
            display: -webkit-box;
            text-align: left;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
    }
}
.wrap-footer-label {
    cursor: pointer;
    margin: 24px;
    text-align: center;
    color: #1890FF;
    font-weight: bold;
}
.favorite-item {
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.06);
    margin-top: 12px;
    padding: 16px;
    color: #303133;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    .top {
        display: flex;
        align-items: center;
    }
    .avatar {
        position: relative;
        .img-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: block;
        }
        .favorite-product-avatar {
            width: 80px;
            height: 80px;
            display: block;
        }
        .icon {
            width: 16px;
            height: 16px;
            position: absolute;
            right: 0;
            bottom: 0;
        }

    }
    .product-price{
        font-size: 12px;
        font-weight: 500;
        color: #606266;
        line-height: 20px;
    }
    .title_bottom{
        margin-top: 8px;
        display: flex;
        .product-hot{
            color: #F56C6C;
            display: flex;
            margin-left: 18px;
        }
        .product-hot-lable{
            margin-left: 8px;
            font-size: 12px;
            font-weight: 500;
            line-height: 20px;
        }
    }
    .user-info {
        flex: 1;
        margin-left: 16px;
        .title {
            display: flex;
            align-items: center;
            font-weight: bold;
        }
        .title__inner {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 90px;
        }
        .sub-title {
            color: #909399;
            text-align: left;
        }
        .category {
            box-sizing: border-box;
            max-width: 80px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin-left: 12px;
            padding: 0 8px;
            font-size: 12px;
            line-height: 16px;
            color: #FFFFFF;
            background-color: #C0C4CC;
            border-radius: 2px;
        }
    }
    .favorite-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 178, 61, 0.2);
        border: 1px solid #FFF;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 16px;
        color: #FFB23D;
        &:hover {
            border: 1px solid #FFB23D;
            background-color: #FFB23D;
            color: #FFF;
        }
    }
    .bottom {
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
    }
    .data-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        .label {
            color: #606266;
        }
        .num {
            margin-top: 6px;
            font-weight: bold;
        }
    }
}
.favorite-price {
    font-size: 14px;
    font-weight: 500;
    color: #909399;
    line-height: 20px;
}


.favorite-post-mask{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    height: 24px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 16px;
}

.favorite-post-avatar{
    width: 80px;
    height: 80px;
    display: block;
}
.favorite-post-icon{
    position: absolute;
    top: 8px;
    right: 8px;
    color: #FFF;
}
.post-date{
    font-size: 12px;
    font-weight: 500;
    color: #606266;
    line-height: 20px;
}
.post-icon{
    display: flex;
    margin-left: 18px;
    color: #F56C6C;
    .iconhuo{
        width: 9px;
        height: 12px;
    }
    .post-lable{
        margin-left: 8px;
        font-size: 12px;
        font-weight: 500;
        line-height: 20px;
    }
}
#brandWrap {
    .favorite-item {
        .category {
            margin-left: 0;
            margin-top: 8px;
        }
    }
}

@media only screen and (min-width: 1200px) {
    h1 {
        margin-top: 80px;
    }
    #favoritePost{
        width: 1200px;
        margin: 60px auto 8px;
    }
    #favoriteProduct{
        width: 1200px;
        margin: 60px auto 8px;
    }
    .container{
        #favoriteTan{
            margin-top: 40px;
        }
    }
    .favorite-wrap__inner {
        margin-top: 60px;
        display: grid;
        gap: 32px;
        grid-template-columns: repeat(3, 1fr);
    }
    .favorite-item {
        margin-top: 0;
        padding: 24px;
        box-shadow: none;
        border: 1px solid #EBEEF5;
        border-radius: 4px;
        .avatar {
            position: relative;
            .img-avatar {
                width: 64px;
                height: 64px;
                border-radius: 50%;
                display: block;
            }
            .icon {
                position: absolute;
                right: 0;
                bottom: 0;
            }
        }
    }
    .wrap-footer-label {
        margin-top: 32px;
    }
    #brandWrap {
        .favorite-item {
            .title__inner {
                max-width: 220px;
            }
            .sub-title {
                margin-top: 8px;
                .category {
                    margin: 0;
                }
            }
        }
    }
}